package com.shareyi.baseproject.kernel.common.enums;

/**
 * 事件来源
 *
 * @author david
 * @date 2020-03-16
 */
public enum EventSourceEnum implements EnumCode<String> {

    APP_INSTANCE("appInstance", "应用实例"),
    JMQ("jmq", "jmq");

    private String code;

    private String desc;

    EventSourceEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
